<template>
	<div class="cont">
		<h2>搜索结果：</h2>
		<div class="item" v-for="r in results">
			<b>{{r.word}}</b>&nbsp;相似度：<span>{{r.score}}</span>
		</div>
	</div>
</template>

<script>
export default{
	name:'SoundLike',
	props:['results']
}
</script>

<style scoped>
	.cont{
		padding: 10px 20px;
		color:#98afc7;
	}
	.item{
		border-bottom: 1px solid #98afc7;
		padding:6px 0;
	}
	.item b{
		display: inline-block;
		width:120px;
	}
</style>